package com.qys.livesMall.navy.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qys.livesMall.navy.model.dto.NavyLanguageManageDto;
import com.qys.livesMall.navy.model.dto.NavyLanguageManageQueryPackageDto;
import com.qys.livesMall.navy.model.entity.H2NavyLanguageManage;
import com.qys.livesMall.navy.model.vo.NavyLanguageManageVo;

/**
 * <p>
 * 水军语言管理 服务类
 * </p>
 *
 * @author wzy
 * @since 2023-07-04
 */
public interface H2NavyLanguageManageService extends IService<H2NavyLanguageManage> {

    /**
     * 新增语言管理
     * @param navyLanguageManageDto
     * @return
     */
    Boolean add(NavyLanguageManageDto navyLanguageManageDto);

    /**
     * 修改语言管理
     * @param navyLanguageManageDto
     * @return
     */
    Boolean update(NavyLanguageManageDto navyLanguageManageDto);


    /**
     * 查询语言管理
     * @param dto
     * @return
     */
    IPage<NavyLanguageManageVo> query(NavyLanguageManageQueryPackageDto dto);

    /**
     * 根据ID 查询详情
     * @param id
     * @return
     */
    NavyLanguageManageVo info(Long id);
}
